<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "set_user_up".
 *
 * @property int $id
 * @property float|null $vip1
 * @property int|null $vip2
 * @property float|null $svip1
 * @property float|null $svip2
 * @property float|null $svip3
 * @property float|null $r1
 * @property float|null $r2
 * @property float|null $e
 */
class SetUserUp extends \yii\db\ActiveRecord
{
    use SetUserUpCommon;

    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'set_user_up';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['vip1', 'svip1', 'svip2', 'svip3', 'r1', 'r2', 'e'], 'number'],
            [['vip2'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'vip1' => 'Vip 1',
            'vip2' => 'Vip 2',
            'svip1' => 'Svip 1',
            'svip2' => 'Svip 2',
            'svip3' => 'Svip 3',
            'r1' => 'R 1',
            'r2' => 'R 2',
            'e' => 'E',
        ];
    }
}
